<!DOCTYPE html>
<html>
<head>
    <title>{$page.post_title}</title>
    <meta name="keywords" content="{$page.post_keywords}"/>
    <meta name="description" content="{$page.post_excerpt}">
    <include file="public@head"/>
    <style>
        #article_content img {
            height: auto !important;
            max-width: 100%;
        }
    </style>
    <hook name="before_head_end"/>
</head>
<body class="body-white" style="background: #eaeaea;">

<include file="public@navTop"/>
<div style="height:500px;width:100%;background: url('__TMPL__/public/assets/images/index_bg.jpg') center;
    background-size: 100% auto;">

</div>

<div class="container tc-main" style="border-radius: 10px;background: #ffffff;padding: 20px 0;margin-top: 50px">
    <div class="row">
        <div class="col-md-12">
            <div class="tc-box article-box">
                <h2 style="text-align: center;color:#20296F;">{$page.post_title|default=''}</h2>
                <hr>
                <div id="article_content">
                    {$page.post_content|default=''}
                </div>

                <php>
                    $comment_hook_param=[
                    'post_id'=>$page['id'],
                    'post_table'=>'portal_post',
                    'post_title'=>$page['post_title']
                    ];
                </php>
            </div>
        </div>
    </div>
</div>

<include file="public@footer"/>

<style>
    .footer {
        display: block;
        animation-name: footerInAn;
        position: relative;
    }

    .footer-link {
        height: 40px;
    }

    .footer-link .code-img {
        bottom: 0;
    }

    #topNav {
        animation-name: topNavInAn;
    }
</style>
<include file="public@scripts"/>

<hook name="before_body_end"/>
</body>
</html>